<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/8/26
  Time: 14:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ include file="/include/easyui.jsp" %>
    <title>内容管理-门票券票内容管理</title>
</head>
<body>
<div id="toolbar">
    <a id="saveTicket" href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'">新增</a>
    <a id="editTicket" href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-edit'">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;
    <select id="ticketType" class="easyui-combobox" style="width:100px">
        <option value="0">全部类型</option>
        <option value="1">门票</option>
        <option value="2">餐饮优惠券</option>
        <option value="3">购物优惠券</option>
    </select>&nbsp;&nbsp;
    <select id="spotList" class="easyui-combobox" style="width:150px"></select>&nbsp;&nbsp;&nbsp;&nbsp;
    <input id="ticketId" class="easyui-searchbox" data-options="prompt:'编号搜索',searcher: doSearch" style="width:100px"/>
    <input id="title" class="easyui-searchbox" data-options="prompt:'标题搜索',searcher: doSearch" style="width:200px"/>
    <input id="sellerName" class="easyui-searchbox" data-options="prompt:'商家名搜索',searcher: doSearch" style="width:200px"/>
</div>
<table class="easyui-datagrid" id="datagrid"></table>
<div id="dialog"></div>
<div id="dialogDetail"></div>
<script type="text/template7" id="detail">
    <div style="padding:10px;">
        <table style="font-size: 13px;font-family: 'ArialMT','Arial';line-height: 20px;">
            <tr>
                <td>商家名称:</td>
                <td>{{sellerName}}</td>
            </tr>
            <tr>
                <td>主营业务:</td>
                <td>{{sellerCategory}}</td>
            </tr>
            <tr>
                <td>综合得分:</td>
                <td>{{score}}</td>
            </tr>
            <tr>
                <td>收藏数量:</td>
                <td>{{collectionNumber}}</td>
            </tr>
            <tr>
                <td>评论数量:</td>
                <td>{{evaluateNumber}}</td>
            </tr>
            <tr>
                <td>地理位置:</td>
                <td>{{cityName}}</td>
            </tr>
            <tr>
                <td>景点名:</td>
                <td>{{scenicSpotName}}</td>
            </tr>
            <tr>
                <td>景点位置:</td>
                <td>{{scenicSpotLocation}}</td>
            </tr>
            <tr>
                <td>单价:</td>
                <td>{{price}}</td>
            </tr>
        </table>
        <div style="padding:5px">详情：<br/>
            {{description}}
        </div>
        <div style="padding:5px">图片信息：<br/>
            {{#each photos}}
            <img src="${photoPath}{{this}}" width="50"/>
            {{/each}}
        </div>
    </div>
</script>
<script type="text/javascript" src="${cdnContentPath}/static/js/zxxFile.js"></script>
<script src="${cdnContentPath}/static/template7/dist/template7.js"></script>
<script type="text/javascript" src="${relativePath}/admin-view/content/ticket/ticket.js"></script>
</body>
</html>
